and began to write songs in an acoustic guitar. Lovato then met Timbaland at his camp where they discussed the album's direction, Lovato stated she wanted created a more "urban" sound. They met each other again at Westlake Recording Studios, where they developed several songs, including "Lightweight" and "All Night Long". The R&B singer Missy Elliott was introduced in the production after listened the sessions for "All Night Long", Elliott asked if she could rap on the song. Lovato agreed saying "Of course, that's not even a question." The singer Jason Derulo was invited to record "Together" while he was in Miami, Florida. In interview with MTV he explained how the collaboration came: "I'm very rarely in Miami and I live in Miami, but before the time I was there, I was there like six months prior and then I haven't been there for a long, long time. But I guess she knew that I lived in Miami. A mutual friend called me and was like, 'Hey, we're at the studio, Demi wanted to get in with you if you were around." Derulo recorded his verses during the middle of the night at The Hit Factory Criteria. Toby Gad and Lindy Robbins also contributed to the album's co-writing "Skyscraper" with Estonian singer Kerli Kõiv. Initially, Lovato recorded "Skyscraper" in Studio City, Los Angeles in 2010. During recording sessions, Lovato was "doubled over, just in pain." After completing her treatment on January 28, 2011, Lovato re-recorded the song, but decided to keep the original recording because she felt that her voice had changed, although noting that her voice was "weaker" when Lovato originally recorded. Gad also produced "My Love Is Like a Star" and "For the Love of a Daughter", the second song was originally recorded as a pop rock song and intended to appear in Lovato's second album, Here We Go Again, released in 2009. Although not planning to write a personal song, a "really long talk" with Beckett resulted in the song being written. However, Lovato and her management felt that the song's subject would be too much for her young audience. After completing the album's recording, Lovato said: "Making the album was a personal journey for me; it was kind of like a roller coaster, I was going through so much over the past year, but at the end of it I just wanted to inspire people and