added functionality of version 0.5.3