Implementation of kata