creating static extension