cleaned up functions in movie library