Starting from where the user clicked  at functions now