bumped up version to 0.5; changed deprecation warnings