Cleaned up bugged code