Implemented costume # primitive