moved activity create function to enable