added method to specific code color