added trylock command