changed the way amplitude works