Switching to parameters. Started new functions