Added status function and using floor function