well when i got my little guy he slept in a crate in my room and would only whine for 5 minutes then go to sleep for the whole night. then because i spoil him

he started sleeping in my bed with me. but i knew he couldnt keep doing that so i got a huge crate and put a bed in it, blankets and toys and he sleeps just fine because during the day he can go in and out whenever he wants and at night he knows its his little house ya know? it works great for him and it hardly whines at all.