defining different methods based on condition during application loading is VERY BAD.