created user promts and sub calculations