added the basic behavior