Made subroutines safer
Added colors~